package com.iotproject.forumservice.mapper;

import com.iotproject.forumservice.entity.ForumNotification;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 消息通知 Mapper 接口
 * </p>
 *
 * @author testjava
 * @since 2023-04-15
 */
public interface ForumNotificationMapper extends BaseMapper<ForumNotification> {
    List<ForumNotification> getNotificationList(@Param("userId") String userId, @Param("page") Integer page, @Param("size") Integer size);
    void updateStatus(@Param("notificationId") String notificationId);
}
